package com.hh.entity.dto.comment;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName comments
 */
@TableName(value = "comments")
@Data
public class CommentsUpdateRequest implements Serializable {
    /**
     *
     */
    @TableField(value = "targetId")
    private String targetId;

    /**
     *
     */
    @TableField(value = "targetType")
    private Integer targetType;

    /**
     *
     */
    @TableField(value = "userId")
    private Long userId;

    /**
     *
     */
    @TableField(value = "content")
    private String content;

    /**
     *
     */
    @TableField(value = "parentId")
    private Long parentId;

    /**
     *
     */
    @TableField(value = "rootId")
    private Long rootId;

    /**
     *
     */
    @TableField(value = "likeCount")
    private Long likeCount;

    /**
     *
     */
    @TableField(value = "replyCount")
    private Integer replyCount;

    /**
     *
     */
    @TableField(value = "status")
    private Integer status;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}